<form action="/admin/announce" method="post" enctype="multipart/form-data" id="announce-form">
<input type="hidden" name="announce" value="1" />
<input type="submit" value="Sačuvaj" />
<? if(isset($saved)): ?>
<div style="margin-right:5px" class="message right <?= $saved ? "ok" : "error" ?>"><?= $saved ? "Sačuvano." : "Greška pri čuvanju. Pokušajte ponovo." ?></div>
<? endif; ?>
<label>
	Nova slika:
	<input type="file" name="image" />
</label>
<? if($announce): ?>
	<label class="inline" for="delete">Obriši:</label>
	<input type="hidden" name="announce[delete]" value="0" />
	<input type="checkbox" name="announce[delete]" id="delete" value="<?= $announce ?>" />
	<br clear="all" />
	<img src="<?= $announce ?>?cb=<?= time() ?>" alt="Najava" />
<? endif; ?>
</form>